package com.link.base.base.email.controller;

import com.link.base.base.email.model.EmailReceiver;
import com.link.base.base.email.service.EmailReceiverService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * 邮件接收人信息
 *
 * @author 姚彭健
 * @date 2019/10/31 11:16
 */
@Controller
@RequestMapping("/link/emailReceiver")
public class EmailReceiverController extends BasicController<EmailReceiver> {
 
    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private EmailReceiverService emailReceiverService;

    @Override
    public BasicService<EmailReceiver> getBasicService() throws Exception {
        return emailReceiverService;
    }     
}
